<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>${siteName!""}后台管理系统主页</title>
<#include "../common/header.ftl"/>

</head>


<body>

    <div class="lyear-layout-web">
    <div class="lyear-layout-container">
    <!--左侧导航-->
        <aside class="lyear-layout-sidebar">

            <div class="lyear-layout-sidebar-scroll">
        <#include "../common/left-menu.ftl"/>
            </div>

        </aside>
        <!--End 左侧导航-->

    <#include "../common/header-menu.ftl"/>
      <#if Session["ylrc_user"]?exists>
    <!--页面主要内容-->
    <main class="lyear-layout-content">

        <div class="container-fluid">

                <#if ylrc_auth != 1>
                </#if>
            <div class="row">

                <div class="col-lg-12">
                    <div class="card">
                        <div class="card-header">
                            <h4>系统最近操作日志</h4>
                        </div>
                        <div class="card-body">
                            <div class="table-responsive">
                                <table class="table table-hover">
                                    <thead>
                                    <tr>
                                        <th>#</th>
                                        <th>操作人</th>
                                        <th style="width:400px;">操作内容</th>
                                        <th>操作时间</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                    <#if operatorLogs??>
                    <#list operatorLogs as operatorLog>
                      <tr>
                          <td>${operatorLog_index+1}</td>
                          <td>${operatorLog.operator}</td>
                          <td>${operatorLog.content}</td>
                          <td>${operatorLog.createTime}</td>
                      </tr>
                    </#list>
                    </#if>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>

            </div>

        </div>

    </main>
    </#if>
  </div>
</div>
<#include "../common/footer.ftl"/>
<script type="text/javascript" src="/admin/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/admin/js/main.min.js"></script>
<script type="text/javascript" language="JavaScript">
$(document).ready(function(){

});

</script>
</body>
</html>
